package com.zjl.itextpdf.utils;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 模拟数据库数据
 *
 * @author zjl
 */
public class DataUtil {

    public static Map<String, Object> getSchoolDetail() {
        // 模拟数据库查询结果
        Map<String, Object> data = new HashMap<>();

        data.put("schoolName", "第一中学");
        data.put("quantity", "11");
        data.put("quantityUnit", "斤");
        data.put("transactionDate", new Date());
        data.put("recordPeople", "张三");
        data.put("businessmanName", "老王");

        return data;
    }
}
